<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Create a mime mail resource</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="function.mailparse-determine-best-xfer-encoding.html">« mailparse_determine_best_xfer_encoding</a></li>
      <li style="float: right;"><a href="function.mailparse-msg-extract-part-file.html">mailparse_msg_extract_part_file »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="ref.mailparse.html">Mailparse 函数</a></li>
    <li>Create a mime mail resource</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="function.mailparse-msg-create" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mailparse_msg_create</h1>
  <p class="verinfo">(PECL mailparse &gt;= 0.9.0)</p><p class="refpurpose"><span class="refname">mailparse_msg_create</span> &mdash; <span class="dc-title">Create a mime mail resource</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.mailparse-msg-create-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mailparse_msg_create</strong></span>(): <span class="type">resource</span></div>

  <p class="para rdfs-comment">
   Create a <code class="literal">MIME</code> mail resource.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.mailparse-msg-create-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.mailparse-msg-create-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns a handle that can be used to parse a message.
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.mailparse-msg-create-notes">
  <h3 class="title">注释</h3>
  <blockquote class="note"><p><strong class="note">注意</strong>: 
   <p class="para">
    It is recommended to call <span class="function"><a href="function.mailparse-msg-free.html" class="function">mailparse_msg_free()</a></span> on the result
    of this function, when it is no longer needed, to avoid memory leaks.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.mailparse-msg-create-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.mailparse-msg-free.html" class="function" rel="rdfs-seeAlso">mailparse_msg_free()</a> - Frees a MIME resource</span></li>
    <li class="member"><span class="function"><a href="function.mailparse-msg-parse-file.html" class="function" rel="rdfs-seeAlso">mailparse_msg_parse_file()</a> - Parses a file</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>